#include<SDL.h>
void help(SDL_Surface *screen)
 {
     SDL_Event event;
    int done=0;


    SDL_Surface*foto=SDL_LoadBMP("img/help.bmp");
      if (!foto)
    {
        printf("Unable to load bitmap: %s\n", SDL_GetError());

    }

while(!done)
{
   while (SDL_PollEvent(&event))
{
switch (event.type)
{
case SDL_QUIT:
done=1;
break;
case SDL_KEYDOWN:
{
if (event.key.keysym.sym == SDLK_ESCAPE)
done=1 ;
break;}}}


      SDL_FillRect(screen, 0, SDL_MapRGB(screen->format, 0, 0, 0));

int test = 1;
while(test)
{
SDL_BlitSurface(foto, NULL, screen, NULL);}
SDL_Flip(screen);
}
SDL_FreeSurface(foto);


}

